package com.atguigu.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * @Author: 王丹
 * @Date: 2021/4/1 0001 21:50
 * @Description:
 */
@Component
public class PaymentFallbackService implements PaymentHystrixService{
    @Override
    public String paymentInfo_OK(Integer id) {
        return "PaymentFallbackService--paymentInfo_OK";
    }

    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return "PaymentFallbackService--paymentInfo_TimeOut";
    }
}
